Debugging in the Extreme: Spectrum-based Fault Localization with Limited Test Cases

نویسندگان

  • Patrick Daniel
  • Kwan Yong Sim
چکیده

Spectrum-based Fault Localization (SBFL) is a well-known debugging technique that locates fault in program code by utilizing execution profiles (spectra) of pass and fail test cases. Hence, the performance of SBFL depends on the test cases executed and the test results. In the most extreme scenarios, the debugging process may have to be conducted with only one fail test case, one pass test case or no pass test case. These scenarios might occur due to extremely high or extremely low failure rates or when software testers decide to stop running more test cases due to time and resource constraints. However, limited test case execution profiles may reduce the accuracy of SBFL metrics. In view of this, we evaluate the performance of SBFL metrics in these extreme scenarios to identify the best performing SBFL metric for each of these scenarios. From the experiment results, we have further discovered the convergence in performance for SBFL metrics under these extreme scenarios.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Spectrum-based Fault Localization in Embedded Software

Spectrum-based fault localization (SFL) shortens the test-diagnose-repair cycle by reducing the debugging effort. As a light-weight automated diagnosis technique it can easily be integrated with existing testing schemes. Since SFL is based on discovering statistical coincidences between system failures and the activity of the different parts of a system, its diagnostic accuracy is inherently li...

متن کامل

Incremental Spectrum Cloning Algorithm for optimization of spectrum-based fault localization

Spectrum-based Fault Localization has emerged as a cost effective method to locate faulty code in software during the debugging process. Recent studies have shown that spectra (execution profiles) cloning for fail test cases can effectively improve the performance of certain spectrum-based Fault Localization ranking metrics. However, the amount of cloning required to optimize the performance va...

متن کامل

Effective Fault Localization Using Weighted Test Cases

Locating faults in a program is prohibitively timeconsuming and tedious, and therefore, many automated fault localization techniques have been proposed to assist in the debugging process. Spectrum based fault localization are promising techniques that can guide developers to the possible locations of faults. These techniques make a summary on the number of passing and failing tests cases to pri...

متن کامل

Test-driven fault navigation for debugging reproducible failures

Michael Perscheid, Michael Haupt, Robert Hirschfeld and Hidehiko Masuhara Debugging activities, particularly those for searching for failure causes, are often laborious and timeconsuming. Techniques such as spectrum-based fault localization or back-in-time debugging help programmers to reduce development cost. However, such approaches are often limited to a single point of view, ignoring the ne...

متن کامل

A New Spectrum-based Fault Localization Method by Using Clustering Algorithm

Locating the errors or faults in the software debugging process is very expensive and time-consuming. Therefore, automated debugging has become popular due to its capability to reduce cost and increase the efficiency. Spectrum-based method is one of the most important automated fault localization methods in the Software debugging techniques. Most of the existing spectrum-based fault localizatio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2013